package com.dsh.authorityManagement.service;

import com.dsh.authorityManagement.entity.dto.IdsDto;
import com.dsh.authorityManagement.entity.dto.UserDto;
import com.dsh.authorityManagement.entity.vo.ImportUserVo;
import com.dsh.authorityManagement.entity.vo.UserVo;
import com.github.pagehelper.PageInfo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserService {
    int insertUser(@Param("userDto") UserDto userDto);

    List<UserVo> selectAdminByAdminId(int id);

    int insertUserForVx(UserDto userDto);

    int passed(int id);

    int noPassed(int id);

    PageInfo<UserDto> selectUsernameAndRoleNameAndStoreName(String username,String phone,int limit, int page);

    List<ImportUserVo> selectImportUser();

    void ImportUser(@Param("ids") Integer[] ids, @Param("sId") int sId);

}
